package com.example.pcdemo;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.example.pcdemo.view.XImageView;

public class MainActivity2 extends AppCompatActivity {

    private XImageView xImg;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        xImg = (XImageView) findViewById(R.id.xImg);
        xImg.setImgSrc(R.drawable.thumb02);
    }
}